Action

enum Action : Enum<Action>

Defines an action the user or server owner needs to take if a setting is changed. Actions are sorted in priority by their ordinal (RESTART is the highest priority action and so on).

The priority of the action defines which action will be displayed if both a setting and a config have a defined action. Only the higher priority will be displayed on an individual setting entry.

Author

fzzyhmstrs

Since

0.4.0

Entries

Link copied to clipboard

Marks that a config or setting change will require a full restart if changed.

Link copied to clipboard

Marks that a config or setting change will require a user relog (disconnect -> reconnect from a server, leave -> reload single player world)

Link copied to clipboard

Marks that a config or setting change will need a data pack and resource pack reload to take effect (/reload and F3 + T)

Link copied to clipboard

Marks that a config or setting change will need a data pack reload to take effect (/reload)

Link copied to clipboard

Marks that a config or setting change will need a resource pack reload to take effect (F3 + T)

Properties

Link copied to clipboard
val clientPrompt: Text
Link copied to clipboard
Link copied to clipboard
val configTooltip: Text
Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sectionTooltip: Text
Link copied to clipboard
Link copied to clipboard
val settingTooltip: Text
Link copied to clipboard
val sprite: Identifier

Functions

Link copied to clipboard
fun valueOf(value: String): Action

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.